package com.trkj.pojos;

import java.io.Serializable;
import javax.persistence.*;

import com.alibaba.fastjson.annotation.JSONField;

import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the CC_OUTHOSPITAL database table.
 * 
 */
@Entity
@Table(name="CC_OUTHOSPITAL")
@NamedQuery(name="CcOuthospital.findAll", query="SELECT c FROM CcOuthospital c")
public class CcOuthospital implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(allocationSize=1,name="CC_OUTHOSPITAL_OUTID_GENERATOR", sequenceName="SEQHIS")
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="CC_OUTHOSPITAL_OUTID_GENERATOR")
	@Column(name="OUT_ID")
	private long outId;

	
	@Temporal(TemporalType.DATE)
	@JSONField(format="yyyy/MM/dd")
	private Date handledate;

	private String handleremarks;

	@Column(name="OUT_DOCTORID")
	private BigDecimal outDoctorid;

	@Column(name="OUT_PID")
	private BigDecimal outPid;

	
	@Temporal(TemporalType.DATE)
	@JSONField(format="yyyy/MM/dd")
	private Date outhodate;

	public CcOuthospital() {
	}

	public long getOutId() {
		return this.outId;
	}

	public void setOutId(long outId) {
		this.outId = outId;
	}

	public Date getHandledate() {
		return this.handledate;
	}

	public void setHandledate(Date handledate) {
		this.handledate = handledate;
	}

	public String getHandleremarks() {
		return this.handleremarks;
	}

	public void setHandleremarks(String handleremarks) {
		this.handleremarks = handleremarks;
	}

	public BigDecimal getOutDoctorid() {
		return this.outDoctorid;
	}

	public void setOutDoctorid(BigDecimal outDoctorid) {
		this.outDoctorid = outDoctorid;
	}

	public BigDecimal getOutPid() {
		return this.outPid;
	}

	public void setOutPid(BigDecimal outPid) {
		this.outPid = outPid;
	}

	public Date getOuthodate() {
		return this.outhodate;
	}

	public void setOuthodate(Date outhodate) {
		this.outhodate = outhodate;
	}

}